package com.lyj.mall.annotations;

import cn.hutool.core.util.IdUtil;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.Date;

/**
 * @author lyj
 * @date 2020/1/11 11:29
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface SystemLog {

    String logId = IdUtil.fastUUID();

    String logType () default "";

    String content () default "";

    String operator () default "";

    Date time = new Date();
}
